package com.yl.module.property.domain.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 资产添加或修改DTO
 * @author makejava
 * @date 2024-10-23 15:54:15
 */
@Data
@ApiModel(value = "PropertyEnableIdleDTO", description = "")
public class PropertyEnableIdleDTO implements Serializable {
	private static final long serialVersionUID = -58694481108239716L;

    @ApiModelProperty(value = "资产表-主键id")
	@NotNull(message = "参数id 不能为空")
	@Min(value = 1, message = "参数id 不能为空")
    private Integer id;

	@ApiModelProperty(value = "是否闲置 0否 1是 (解析0就是启用 1就是闲置)")
	@NotNull(message = "参数isIdle 不能为空")
	private Integer isIdle;
}

